﻿
var __AdConfig = new function(){
    this.JS_LIB_PATH = "http://"+window.location.host+"/AFS";

    this.AJAX_TIME_OUT=50000;
    this.SERVICE_PROXY_URL="http://"+window.location.host+"/AFS/AdServiceProxy.asmx";
    this.AD_CODE_NAME = "adcode"; 
   this.COOKIE_EXPIRES_DAY=2;
}

new function(){
//jquery
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/jquery/jquery-1.2.3.min.js'></script>");
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/jquery/jquery.cookie.js'></script>");
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/jquery/jquery.query-1.2.3.js'></script>");
//misc
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/misc/String.extension.js' charset='GBK'></script>");
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/misc/ZDomain.js' charset='GBK'></script>");
//gg
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/gg/_AdService.gg.js' charset='GBK'></script>");
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/gg/_AdCookie.gg.js' charset='GBK'></script>");
document.write("<script type='text/javascript' src='"+__AdConfig.JS_LIB_PATH+"/js/gg/__AD.gg.js' charset='GBK'></script>");
}

